import { createStore } from 'vuex'

export default createStore({
    state: {
        artTypeList: [],
        websocketMsgList: [],
        userSign: ''
    },
    getters: {
    },
    mutations: {
        getArtTypeList(state,typeList){
            state.artTypeList = typeList
        },
        setWebSocketMsg(state,websocketMsgList){
            state.websocketMsgList = websocketMsgList
        },
        setUserSignAuthInfo(state,sign){
            state.userSign = sign
        }
    },
    actions: {
    },
    modules: {
    }
})
